Manager: Window Manager



Carbon will support the Window Manager. Be aware, however, that if you use custom window definition procedures (also known as WDEFs), you must compile them as PowerPC-native code. In addition:

* Your application must use the functions defined by the Window Manager whenever it creates and disposes of Window Manager data structures. For example, instead of directly creating and disposing of window records, applications must call such Window Manager functions as GetNewCWindow and DisposeWindow.

* You must revise your application so that it accesses Window Manager data structures only through accessor functions.

* You are encouraged to adopt the standard Mac OS 8 window definition procedures in your application. Applications that use the standard Mac OS 8 window definition procedures inherit the Mac OS 8 human interface appearance. Applications that use custom window definition procedures work correctly, but because custom definition procedures invoke their own drawing routines, Mac OS 8 can't draw these applications with the current appearance.

Supported  AreFloatingWindowsVisible

Supported  BeginUpdate

Supported  BeginWindowProxyDrag

Supported  BringToFront

Supported  CalcVis

Supported  CalcVisBehind

Unsupported  CallDeskHookProc

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Supported  CallWindowDefProc

Supported  CheckUpdate

Supported  ClipAbove

Supported  CloneWindow

Unsupported  CloseWindow

The CloseWindow function is not supported because developers do not allocate their own memory for windows in Carbon. Use the DisposeWindow function to remove a window instead.

Supported  CollapseAllWindows

Supported  CollapseWindow

Supported  CreateNewWindow

Supported  CreateWindowFromCollection

Supported  CreateWindowFromResource

Supported  DebugInvertVisRegion

Supported  DebugPrintWindow

Supported  DebugPrintWindowList

Unsupported  DeskHookProcPtr

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Unsupported  DisposeDeskHookUPP

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Supported  DisposeWindow

Supported  DisposeWindowDefUPP

Supported  DragGrayRgn

Unsupported  draggrayrgn

Use DragGrayRgn instead.

Not Recommended  DragTheRgn

Use DragGrayRgn instead.

Supported  DragWindow

Unsupported  dragwindow

Use DragWindow instead.

Supported  DrawGrowIcon

Supported  DrawNew

Supported  EndUpdate

Supported  EndWindowProxyDrag

Supported  FindWindow

Unsupported  findwindow

Use FindWindow instead.

Supported  FrontNonFloatingWindow

Supported  FrontWindow

Unsupported  GetAuxWin

Remove application reliance on AuxWinRec data structures; in the future, the information in these structures may be invalid or unavailable to applications.

Unsupported  GetCWMgrPort

Carbon does not support accessing the Window Manager port. You should draw into your own graphics port instead.

Supported  GetGrayRgn

Supported  GetNewCWindow

Supported  GetNewWindow

Supported  GetNextWindow

Supported  GetWindowAttributes

Supported  GetWindowBounds

Supported  GetWindowClass

Supported  GetWindowContentColor

Supported  GetWindowContentPattern

Unsupported  GetWindowControlList

Accessing the window control list is not supported in Carbon. Use the Control Manager's control embedding hierarchy functions (CreateRootControl, GetRootControl, EmbedControl, AutoEmbedControl, GetSuperControl, GetIndexedSubControl, and SetControlSupervisor) to determine control ordering instead.

Supported  GetWindowFeatures

Supported  GetWindowFromPort

Modified  GetWindowGoAwayFlag

Supported  GetWindowIdealUserState

Supported  GetWindowKind

Supported  GetWindowList

Supported  GetWindowOwnerCount

Supported  GetWindowPic

Supported  GetWindowPort

Supported  GetWindowPortBounds

Supported  GetWindowProperty

Supported  GetWindowPropertySize

Supported  GetWindowProxyAlias

Supported  GetWindowProxyFSSpec

Supported  GetWindowProxyIcon

Supported  GetWindowRegion

Modified  GetWindowSpareFlag

Supported  GetWindowStandardState

Supported  GetWindowUserState

Unsupported  GetWMgrPort

Carbon does not support accessing the Window Manager port. You should draw into your own graphics port instead.

Supported  GetWRefCon

Supported  GetWTitle

Unsupported  getwtitle

Use GetWTitle instead.

Supported  GetWVariant

Supported  GrowWindow

Unsupported  growwindow

Use GrowWindow instead.

Supported  HideFloatingWindows

Supported  HideWindow

Supported  HiliteWindow

Supported  HiliteWindowFrameForDrag

Unsupported  InitFloatingWindows

There is no need to initialize this Window Manager functionality because the shared library is loaded as needed.

Unsupported  InitWindows

InitWindows is not supported in Carbon. There is no need to initialize the Window Manager because the shared library is loaded as needed.

Modified  InvalRect

Calls InvalWindowRect, which takes a window pointer as an additional parameter.

Modified  InvalRgn

Calls InvalWindowRgn, which takes a window pointer as an additional parameter.

Supported  InvalWindowRect

Supported  InvalWindowRgn

Unsupported  InvokeDeskHookUPP

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Supported  InvokeWindowDefUPP

Supported  IsValidWindowPtr

Supported  IsWindowCollapsable

Supported  IsWindowCollapsed

Supported  IsWindowHilited

Supported  IsWindowInStandardState

Supported  IsWindowModified

Supported  IsWindowPathSelectClick

Supported  IsWindowUpdatePending

Supported  IsWindowVisible

Supported  MoveWindow

Supported  MoveWindowStructure

Supported  NewCWindow

Unsupported  newcwindow

Use NewCWindow instead.

Unsupported  NewDeskHookProc

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Unsupported  NewDeskHookUPP

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.

Modified  NewWindow

Unsupported  newwindow

Use NewCWindow instead.

Supported  NewWindowDefProc

Supported  NewWindowDefUPP

Supported  PaintBehind

Supported  PaintOne

Supported  PinRect

Unsupported  pinrect

Use PinRect instead.

Supported  RemoveWindowProperty

Supported  RemoveWindowProxy

Supported  RepositionWindow

Supported  ResizeWindow

Supported  SaveOld

Supported  SelectWindow

Supported  SendBehind

Unsupported  SetDeskCPat

Supported  SetPortWindowPort

Supported  SetWinColor

Unsupported  SetWindowAttributes

Supported  SetWindowBounds

Supported  SetWindowContentColor

Supported  SetWindowContentPattern

Unsupported  SetWindowControlList

Accessing the window control list is not supported in Carbon. Use the Control Manager's control embedding hierarchy functions (CreateRootControl, GetRootControl, EmbedControl, AutoEmbedControl, GetSuperControl, GetIndexedSubControl, and SetControlSupervisor) to determine control ordering instead.

Supported  SetWindowIdealUserState

Modified  SetWindowKind

Supported  SetWindowModified

Supported  SetWindowPic

Supported  SetWindowProperty

Supported  SetWindowProxyAlias

Supported  SetWindowProxyCreatorAndType

Supported  SetWindowProxyFSSpec

Supported  SetWindowProxyIcon

Supported  SetWindowStandardState

Supported  SetWindowUserState

Supported  SetWRefCon

Supported  SetWTitle

Unsupported  setwtitle

Use SetWTitle instead.

Supported  ShowFloatingWindows

Supported  ShowHide

Supported  ShowWindow

Supported  SizeWindow

Supported  StoreWindowIntoCollection

Supported  TrackBox

Unsupported  trackbox

Use TrackBox instead.

Supported  TrackGoAway

Unsupported  trackgoaway

Use TrackGoAway instead.

Supported  TrackWindowProxyDrag

Supported  TrackWindowProxyFromExistingDrag

Supported  TransitionWindow

Modified  ValidRect

Calls ValidWindowRect, which takes a window pointer as an additional parameter.

Modified  ValidRgn

Calls ValidWindowRgn, which takes a window pointer as an additional parameter.

Supported  ValidWindowRect

Supported  ValidWindowRgn

Supported  WindowDefProcPtr

Supported  WindowPathSelect

Supported  ZoomWindow

Supported  ZoomWindowIdeal

[Table of Contents] [Manager Index] [Function Index]

Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.